package com.itheima.day01.test3;

public class Bear extends Animal{
    public Bear() {
    }

    public Bear(String color, int numberLegs) {
        super(color, numberLegs);
    }

    @Override
    public void eat() {
        System.out.println("会吃蜂蜜");
    }

    // void catchFish[
    public void catchFish() {
        System.out.println("会捉鱼");
    }
}
